package com.itheima.service;

import com.itheima.pojo.PageResult;
import com.itheima.pojo.Student;
import com.itheima.pojo.StudentQueryParam;

public interface StudentService {

    //学员列表查询
    PageResult<Student> page(StudentQueryParam studentQueryParam);

    //删除学员
    void delete(Integer[] ids);

    //添加学员
    void addStu(Student student);

    //根据ID查询学员
    Student findById(Integer id);

    //修改学员
    void update(Student student);

    //违纪处理
    void updateViolation(Integer id,Integer score);
}
